Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRSetMouseOverTracking

You can use the QTVRSetMouseOverTracking function to set the state of mouse-over tracking.

OSErr QTVRSetMouseOverTracking (QTVRInstance qtvr, Booleanenable);
qtvr
An instance of a QuickTime VR movie.
enable
A Boolean value that indicates whether QuickTime VR should handle mouse-over tracking for the specified movie ( true ) or not ( false ).
function result
A result code.

DESCRIPTION

The QTVRSetMouseOverTracking function sets the mouse-over tracking state of the QuickTime VR movie specified by the qtvr parameter to the state specified by the enable parameter. By default, QuickTime VR tracks mouse movements in a QuickTime VR movie and changes the shape of the cursor as appropriate. If you disable mouse-over tracking (by passing false in the enable parameter), you must call the QTVRMouseEnter , QTVRMouseWithin , and QTVRMouseLeave functions at the appropriate times to handle user actions.

SEE ALSO

Use QTVRGetMouseOverTracking (link) to get the current mouse-over tracking state of a QuickTime VR movie.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |